﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace AspNetSimple
{
    public class Data
    {
        public int Id { get; set; }
        public string Code { get; set; }

        public IEnumerable<DataItem> Items { get; set; }
    }

    public class DataItem
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public long LongId { get; set; }
        public DateTime Date { get; set; }
    }
}
